// components/video-introduce/index.ts
const boxHeight = require("../../behavior/play-page-behavior");
Component({
  /**
   * 组件的属性列表
   */
  behaviors:[boxHeight],
  properties: {

    toolsPubData:{
      type:Object,
      value:{}
    },
    focusState:{
      type:Boolean,
      value:false,
      observer:"setState"
    },
    nodes: {
      type:String,
      value:""
    },
    cameraAuthorInfo:{
      type:Object,
      value:{
        
      }
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    state: false
  },

  /**
   * 组件的方法列表
   */
  methods: {
    changeState() {      
      this.triggerEvent("changeFocusState",!this.properties.focusState)
    },
    setState(state) {
      this.setData({
        state:state
      })
    }
  }
  
})
